package dao;

import pojo.Dept;

import java.util.List;

public interface DeptDao {
    List<Dept> findAll(Dept dept);



    int addDept(Dept dept);
    Dept findDeptById(Integer id);

    int updateDept(Dept dept);

    int deleteDeptById(int id);
}
